/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.fresh.bus.canoe.xsocket;

import com.fresh.bus.canoe.message.MessageCodec;

import org.xsocket.connection.INonBlockingConnection;

/**
 *
 * @author panzd
 */
public class DefaultXSocketSessionFactory implements XSocketSessionFactory<XSocketSession> {

    @Override
    public XSocketSession create(INonBlockingConnection connection, MessageCodec messageCodec) {
        return new XSocketSession(connection, messageCodec);
    }

}
